import java.util.HashMap;
import java.util.Map;

public class Config {
	
	private static Map<String, String> config = new HashMap<String, String>();
	
	public static boolean isHave( String key ) {
		return config.containsKey( key.toLowerCase() );
	}
	
	public static void put( String key, String value ) {
		config.put( key.toLowerCase() , value );
	}
	
	public static String get( String key ) {
		String val = config.get( key.toLowerCase() );
		return val == null ? "" : val.trim();
	}
}
